package com.itheima.duoxianchen;

public class Mythread2 extends Thread{
    @Override
    public void run() {
        for (int i = 0; i < 50; i++) {
            System.out.println(getName()+"线程"+i);
        }
    }
}
